package net.maku.express.biza.controller.collectExpress.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * @Author
 * @Description:
 * @Date
 */
@Schema(description = "单条数据查询")
@Data
public class CollectExpressSelectiveVO {

    @Schema(description = "id")
    private Long id;

    /**
     * 收据单号
     */
    @Schema(description = "收据单号")
    private String collectNo;

    @Schema(description = "库区")
    private String quName;

    /**
     * 订单号
     */
    @Schema(description = "订单号")
    private Integer ordersNo;

    /**
     * 快递单号
     */
    @Schema(description = "快递单号")
    private String expressNo;


    /**
     * 始发地
     */
    @Schema(description = "始发地")
    private String origin;

    /**
     * 目的地id
     */
    @Schema(description = "目的地")
    private String dest;

    /**
     * 业务类型:1:空运,2:海运
     */
    @Schema(description = "业务类型:1:空运,2:海运")
    private Integer businessState;

    /**
     * 发货人
     */
    @Schema(description = "发货人")
    private String sendor;

    /**
     * 收货人
     */
    @Schema(description = "收货人")
    private String collector;

    /**
     * 收货件数
     */
    @Schema(description = "收货件数")
    private Integer collectNum;

    /**
     * 重量
     */
    @Schema(description = "重量")
    private Double weight;

    /**
     * 计费重量
     */
    @Schema(description = "计费重量")
    private Double chargedWeight;

    /**
     * id
     */
    @Schema(description = "客户")
    private String custom;

    /**
     * 客服id
     */
    @Schema(description = "客服")
    private String business;

    @Schema(description = "操作人")
    private String operate;

    /**
     * 业务员
     */
    @Schema(description = "业务员")
    private String sales;

    /**
     * 货仓
     */
    @Schema(description = "始发地货仓")
    private String originHorse;

    @Schema(description = "目的地货仓")
    private String destHorse;

    /**
     * 收货日期
     */
    @Schema(description = "收货日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date collectTime;

    /**
     * 发货人电话
     */
    @Schema(description = "发货人电话")
    private String sendorPhone;

    /**
     * 收货人电话
     */
    @Schema(description = " 收货人电话")
    private String collectorPhone;

    /**
     * 件状态:0正常件,1:问题件
     */
    @Schema(description = "件状态:0正常件,1:问题件")
    private Integer questionState;

    /**
     * 付款方式:1:PP,2:CC,3:半月结,4:月结
     */
    @Schema(description = "付款方式:1:PP,2:CC,3:半月结,4:月结")
    private Integer payState;

    /**
     * 到货方式：1:快递派送,2:客户自送
     */
    @Schema(description = "到货方式：1:快递派送,2:客户自送")
    private Integer arrivalState;

    /**
     * 地址
     */
    @Schema(description = "地址")
    private String address;

    /*计费重类型:1:重量,2:万方kg*/
    @Schema(description = "计费重类型:1:重量kg,2:万方")
    private Integer chargeState;


    /**
     * 实际件数
     */
    @Schema(description = "实际件数")
    private Integer collectTrueNum;

    /**
     * 货物类型
     */
    @Schema(description = "货物类型:1:普货,2:敏感货,3:单证普货,4:单证敏感货")
    private Long collectType;

    /**
     * 打包状态:1.未打包,2:已打包;3:部分打包
     */
    @Schema(description = "打包状态:1.未打包,2:已打包;3:部分打包")
    private Integer collectState;

    /**
     * id
     */
    @Schema(description = "客户Id")
    private Integer customId;

    /**
     * 客服id
     */
    @Schema(description = "客服Id")
    private Integer businessId;

    @Schema(description = "操作人Id")
    private Long operateId;

    /**
     * 业务员
     */
    @Schema(description = "业务员Id")
    private Integer salesId;

    /**
     * 始发地
     */
    @Schema(description = "始发地Id")
    private Integer originId;

    /**
     * 目的地id
     */
    @Schema(description = "目的地Id")
    private Integer destId;

    /**
     * 货仓
     */
    @Schema(description = "始发地货仓Id")
    private Integer goodsHourseOrigin;

    @Schema(description = "目的地货仓Id")
    private Integer goodsHourseDest;

    @Schema(description = "始发地货仓库区")
    private Integer goodsHourseOriginQu;

    @Schema(description = "体积")
//    @NotNull(message = "体积重不能为空")
    private Double tiji;

    /**
     * 实际件数
     */
    @Schema(description = "体积重")
//    @NotNull(message = "体积重不能为空")
    private Double tijiWeight;

    @Schema(description = "pcs")
//    @NotNull(message = "pcs不能为空")
    private String pcs;

    @Schema(description = "图片地址")
    private String barAnnex;


}
